<%@ page language="java" import="java.util.*"
	contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html>
<head>
<title></title>
<t:base type="jquery,easyui,tools"></t:base>
</head>
<body style="overflow-y: hidden" scroll="no">
	<t:formvalid formid="messagefrom" dialog="true" usePlugin="password"
		layout="table" action="wxTextTemplateController.do?doSave">
		<input id="id" name="id" type="hidden" value="${id}">
		<input id="accountid" name="accountId" type="hidden"
			value="${accountId}">
		<table style="width: 600px;" cellpadding="0" cellspacing="1"
			class="formtable">
			<tr>
				<td align="right"><label class="Validform_label"> 模板名称:
				</label></td>
				<td class="value"><input id="templateName" class="inputxt"
					name="templateName" value="${templateName}" datatype="*"
					nullmsg="模板名称不能为空！"> <span class="Validform_checktip">请输入模板名称！</span>
				</td>
			</tr>

			<tr>
				<td align="right"><label class="Validform_label"> 动态模板:
				</label></td>
				<td class="value"><t:dictSelect field="freemarkerSupport"
						type="list" typeGroupCode="yesorno" hasLabel="false" title="动态模板"
						defaultVal="${freemarkerSupport}"></t:dictSelect> <span
					class="Validform_checktip">如果为是，可支持Freemarker动态计算模板内容</span></td>
			</tr>

			<tr>
				<td align="right"><label class="Validform_label"> 模板内容:
				</label></td>
				<td class="value"><textarea rows="15" cols="80" name="content"
						id="content" datatype="*" nullmsg="模板内容不能为空！">${content}</textarea>
					<br> <span class="Validform_checktip">请输入模板内容！</span></td>
			</tr>

		</table>
	</t:formvalid>
</body>